package com.yc.entities.custom;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author kukaha
 * @version 1.0.0
 * @ClassName CustomQualityRecordsResponseBean.java
 * @Description TODO
 * @createTime 2021年04月20日 19:05:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CustomQualityRecordsResponseBean对象", description = "质控检查记录查询响应Bean")
public class CustomQualityRecordsResponseBean implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "质控检查记录id")
    private Integer id;
    @ApiModelProperty(value = "科室id")
    private Integer departmentId;
    @ApiModelProperty(value = "科室名称")
    private String departmentName;
    @ApiModelProperty(value = "试纸批号id")
    private Integer articleTryId;
    @ApiModelProperty(value = "试纸批号名称")
    private String articleTry;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
    @ApiModelProperty(value = "生产日期")
    private LocalDateTime dateInProduced;
    @ApiModelProperty(value = "使用期限")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
    private LocalDateTime liveTime;
    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
    private LocalDateTime addTime;
    @ApiModelProperty(value = "质控批号id")
    private Integer qualityControlId;
    @ApiModelProperty(value = "质控批号名称")
    private String qualityControlName;
    @ApiModelProperty(value = "最大值")
    private Double qualityMax;
    @ApiModelProperty(value = "最小值")
    private Double qualityMin;
    @ApiModelProperty(value = "检测值")
    private Double detectionValue;
    @ApiModelProperty(value = "结果状态")
    private String detectionStatus;
    @ApiModelProperty(value = "操作用户id 对应user表")
    private Integer userId;
    @ApiModelProperty(value = "操作用户名称")
    private String userName;
    @ApiModelProperty(value = "设备id")
    private Integer equipmentId;
    @ApiModelProperty(value = "设备编号")
    private String equipmentCode;



}
